package com.gxa.shop.bean.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * com.gxa.shop.entity.vo
 * User: coma
 * Description:
 * Version: V1.0
 */
@Data
public class OrderVo {
    private Integer userId;
    private Integer orderId;
    private String userName;
    private String userPhone;
    private String productName;
    private Double unitPrice;
    private Integer quantity;
    private Double totalPrice;
    private Integer addressId;
    private String recipientName;
    private String recipientPhone;
    private String address;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime shipTime;
    private String orderStatus;
    private String paymentMethod;
    private List<OrderItemVo> goods;
}